<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>光宗耀祖 - 文化传承平台</title>
	<link rel="shortcut icon" href="favicon.ico">
	<link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
	<link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
	<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
	<style>
		:root {
            --primary-color: #4285F4; /* Google蓝 */
            --secondary-color: #34A853; /* Google绿 */
            --accent-color: #EA4335; /* Google红 */
            --yellow-color: #FBBC05; /* Google黄 */
            --dark-color: #202124; /* 深灰 */
            --light-color: #f8f9fa; /* 浅灰背景 */
            --text-color: #3c4043; /* 主文本色 */
            --card-bg: rgba(255, 255, 255, 0.9); /* 卡片背景 */
            --glass-effect: rgba(255, 255, 255, 0.25); /* 玻璃效果 */
            --border-radius: 12px; /* 圆角 */
            --box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1); /* 阴影 */
        }

        body {
            font-family: 'Noto Sans SC', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            color: var(--text-color);
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 500;
            color: var(--dark-color);
        }

        /* 主容器 */
        .main-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        /* 玻璃卡片效果 */
        .glass-card {
            background: var(--card-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            border: 1px solid rgba(255, 255, 255, 0.18);
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .glass-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(31, 38, 135, 0.15);
        }

        /* 头像区域 */
        .avatar-container {
            width: 150px;
            height: 150px;
            margin: 0 auto 20px;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.5s ease;
            position: relative;
        }

        .avatar-container::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 50%;
            border: 2px solid transparent;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) border-box;
            -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: destination-out;
            mask-composite: exclude;
            pointer-events: none;
        }

        .avatar-container:hover {
            transform: scale(1.05);
        }

        /* 按钮样式 */
        .btn-tech {
            background: linear-gradient(45deg, var(--primary-color), #5b8def);
            color: white;
            border: none;
            border-radius: 30px;
            padding: 12px 30px;
            font-weight: 500;
            font-size: 1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
        }

        .btn-tech:hover {
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(66, 133, 244, 0.4);
        }

        .btn-tech::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #5b8def, var(--primary-color));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .btn-tech:hover::before {
            opacity: 1;
        }

        .btn-outline-tech {
            background-color: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            border-radius: 30px;
            padding: 10px 28px;
            font-weight: 500;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .btn-outline-tech:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
        }

        /* 功能卡片 */
        .feature-card {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 30px;
            margin-bottom: 30px;
            transition: all 0.5s ease;
            position: relative;
            overflow: hidden;
            box-shadow: var(--box-shadow);
            border: 1px solid rgba(255, 255, 255, 0.18);
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(31, 38, 135, 0.15);
        }

        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 20px;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* 用户评价 */
        .testimonial {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 25px;
            margin-bottom: 20px;
            position: relative;
            box-shadow: var(--box-shadow);
            border: 1px solid rgba(255, 255, 255, 0.18);
        }

        .testimonial::before {
            content: """;
            position: absolute;
            top: 10px;
            left: 20px;
            font-size: 60px;
            color: rgba(66, 133, 244, 0.1);
            font-family: serif;
            line-height: 1;
            z-index: 0;
        }

        .testimonial p {
            position: relative;
            z-index: 1;
        }

        .testimonial-author {
            font-weight: bold;
            margin-top: 15px;
            color: var(--primary-color);
        }

        /* 页脚 */
        .main-footer {
            background: linear-gradient(135deg, var(--dark-color), #303134);
            color: white;
            padding: 60px 0 30px;
            position: relative;
            clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
        }

        .footer-links h4 {
            color: white;
            margin-bottom: 20px;
            font-weight: 500;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-links h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            border-radius: 3px;
        }

        .footer-links a {
            color: #bdc1c6;
            text-decoration: none;
            transition: color 0.3s ease;
            display: block;
            margin-bottom: 10px;
        }

        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }

        /* 返回顶部按钮 */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            box-shadow: 0 5px 20px rgba(66, 133, 244, 0.4);
            transition: all 0.3s ease;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
        }

        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 8px 25px rgba(66, 133, 244, 0.5);
        }

        /* 进度条 */
        .progress-tech {
            height: 10px;
            background-color: #e8eaed;
            border-radius: 5px;
            overflow: hidden;
        }

        .progress-bar-tech {
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            transition: width 1s ease;
        }

        /* 悬浮粒子背景 */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .particle {
            position: absolute;
            background: rgba(66, 133, 244, 0.5);
            border-radius: 50%;
            pointer-events: none;
        }

        /* 响应式调整 */
        @media (max-width: 768px) {
            .main-container {
                padding: 20px 15px;
            }

            .avatar-container {
                width: 120px;
                height: 120px;
            }

            .main-footer {
                clip-path: polygon(0 2%, 100% 0, 100% 100%, 0% 100%);
                padding: 40px 0 20px;
            }
        }
	</style>
</head>

<body>
<!-- 悬浮粒子背景 -->
<div class="particles" id="particles"></div>

<div class="main-container">
	<div class="row">
		<div class="col-md-10 col-md-offset-1">
			<div class="glass-card">
				<div class="row" style="padding: 40px;">
					<div class="col-sm-4 text-center">
						<div class="avatar-container">
							<img th:src="@{/img/qr_code.png}" width="150" height="150" class="img-circle">
						</div>
						<h2 style="margin-top: 20px;">兄弟们好</h2>
						<p style="font-style: italic; color: var(--primary-color); margin-top: 10px;">"一日为师，终身为父"</p>
						<div class="social-links" style="margin-top: 30px;">
							<a href="#" class="btn btn-circle" style="background: linear-gradient(45deg, var(--primary-color), #5b8def); color: white; margin: 0 5px; width: 40px; height: 40px; line-height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;"><i class="fa fa-weixin"></i></a>
							<a href="#" class="btn btn-circle" style="background: linear-gradient(45deg, var(--accent-color), #ed706f); color: white; margin: 0 5px; width: 40px; height: 40px; line-height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;"><i class="fa fa-qq"></i></a>
							<a href="#" class="btn btn-circle" style="background: linear-gradient(45deg, var(--yellow-color), #f9d423); color: white; margin: 0 5px; width: 40px; height: 40px; line-height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;"><i class="fa fa-weibo"></i></a>
						</div>
					</div>
					<div class="col-sm-4">
						<h2 style="margin-bottom: 25px;">光宗耀祖</h2>
						<p style="font-size: 16px; line-height: 1.8; color: var(--text-color);">传承中华文化，弘扬兄弟情谊。在这里，我们共同探索五千年文明的智慧结晶，让传统文化在新时代焕发光彩。</p>

						<div style="background-color: rgba(66, 133, 244, 0.1); padding: 12px 15px; border-radius: 8px; display: inline-block; margin-top: 20px;">
							<p style="margin-bottom: 0; font-size: 14px;">
								<b style="color: var(--dark-color);">当前版本：</b> <span style="background: linear-gradient(45deg, var(--primary-color), #5b8def); color: white; padding: 4px 12px; border-radius: 20px; font-size: 13px;">v[[${version}]]</span>
							</p>
						</div>

						<div style="margin-top: 25px;">
							<span style="background: linear-gradient(45deg, var(--yellow-color), #f9d423); color: white; padding: 6px 18px; border-radius: 20px; font-size: 14px; font-weight: 500; display: inline-block;">&yen; 文化会员</span>
						</div>

						<div style="margin-top: 35px;">
							<a class="btn btn-tech" href="https://gitee.com/y_project/RuoYi" target="_blank" style="margin-right: 10px;">
								<i class="fa fa-cloud" style="margin-right: 8px;"></i> 谢宝乐
							</a>
							<a class="btn btn-outline-tech" href="http://ruoyi.vip" target="_blank">
								<i class="fa fa-home" style="margin-right: 8px;"></i> 王召权
							</a>
						</div>
					</div>
					<div class="col-sm-4">
						<h2 style="margin-bottom: 25px;">文化精髓</h2>
						<div style="background: var(--card-bg); border-radius: var(--border-radius); padding: 20px; box-shadow: var(--box-shadow); border: 1px solid rgba(255, 255, 255, 0.18);">
							<ol style="list-style: none; padding-left: 0; counter-reset: cultural-counter;">
								<li style="position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 15px; line-height: 1.6; color: var(--text-color);">
									<span style="position: absolute; left: 0; top: 0; background: linear-gradient(45deg, var(--primary-color), #5b8def); color: white; width: 22px; height: 22px; border-radius: 50%; text-align: center; line-height: 22px; font-size: 12px;">1</span>
									明月松间照，清泉石上流。
								</li>
								<li style="position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 15px; line-height: 1.6; color: var(--text-color);">
									<span style="position: absolute; left: 0; top: 0; background: linear-gradient(45deg, var(--secondary-color), #5dce87); color: white; width: 22px; height: 22px; border-radius: 50%; text-align: center; line-height: 22px; font-size: 12px;">2</span>
									落霞与孤鹜齐飞，秋水共长天一色。
								</li>
								<li style="position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 15px; line-height: 1.6; color: var(--text-color);">
									<span style="position: absolute; left: 0; top: 0; background: linear-gradient(45deg, var(--accent-color), #ed706f); color: white; width: 22px; height: 22px; border-radius: 50%; text-align: center; line-height: 22px; font-size: 12px;">3</span>
									小荷才露尖尖角，早有蜻蜓立上头。
								</li>
								<li style="position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 15px; line-height: 1.6; color: var(--text-color);">
									<span style="position: absolute; left: 0; top: 0; background: linear-gradient(45deg, var(--yellow-color), #f9d423); color: white; width: 22px; height: 22px; border-radius: 50%; text-align: center; line-height: 22px; font-size: 12px;">4</span>
									曾经沧海难为水，除却巫山不是云。
								</li>
							</ol>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<div class="row" style="margin-top: 30px;">
		<div class="col-md-10 col-md-offset-1">
			<div class="glass-card" style="padding: 40px;">
				<div class="row">
					<div class="col-md-8">
						<div class="row">
							<div class="col-md-6">
								<div class="feature-card">
									<div class="feature-icon">
										<i class="fa fa-book"></i>
									</div>
									<h3>文化传承</h3>
									<p style="color: var(--text-color);">精选中华五千年文化精髓，以现代视角重新诠释传统价值，让经典在当代焕发新生。</p>
								</div>
							</div>
							<div class="col-md-6">
								<div class="feature-card">
									<div class="feature-icon">
										<i class="fa fa-users"></i>
									</div>
									<h3>兄弟情谊</h3>
									<p style="color: var(--text-color);">构建真诚互助的交流平台，在文化探索中建立深厚情谊，共同成长。</p>
								</div>
							</div>
							<div class="col-md-6">
								<div class="feature-card">
									<div class="feature-icon">
										<i class="fa fa-graduation-cap"></i>
									</div>
									<h3>学习成长</h3>
									<p style="color: var(--text-color);">提供系统化的学习路径和专业指导，帮助每位成员在文化修养上不断提升。</p>
								</div>
							</div>
							<div class="col-md-6">
								<div class="feature-card">
									<div class="feature-icon">
										<i class="fa fa-heart"></i>
									</div>
									<h3>情感交流</h3>
									<p style="color: var(--text-color);">营造温暖包容的社区氛围，让成员能够自由表达、真诚交流。</p>
								</div>
							</div>
						</div>

						<div class="feature-card" style="margin-top: 30px;">
							<h3 style="margin-bottom: 25px;">用户评价</h3>
							<div class="row">
								<div class="col-md-6">
									<div class="testimonial">
										<p style="color: var(--text-color);">"这个平台让我重新认识了中华文化的魅力，每天都能学到新东西，非常感谢！"</p>
										<div class="testimonial-author">王召权</div>
									</div>
								</div>
								<div class="col-md-6">
									<div class="testimonial">
										<p style="color: var(--text-color);">"兄弟情谊在这里得到了最好的诠释，认识了很多志同道合的朋友，非常值得！"</p>
										<div class="testimonial-author">赵嘉铭</div>
									</div>
								</div>
							</div>
						</div>
					</div>

					<div class="col-md-4">
						<div class="feature-card">
							<h3 style="margin-bottom: 25px;">联系我们</h3>
							<ul class="list-unstyled">
								<li style="margin-bottom: 20px; display: flex; align-items: flex-start;">
									<i class="fa fa-globe" style="color: var(--primary-color); margin-right: 15px; font-size: 18px; margin-top: 3px;"></i>
									<div>
										<strong style="color: var(--dark-color); display: block; margin-bottom: 5px;">官网</strong>
										<a href="https://gitee.com/sun-xiaoyuan123/pims5" target="_blank" style="color: var(--primary-color); word-break: break-all; font-size: 14px;">https://gitee.com/sun-xiaoyuan123/pims5/issues</a>
									</div>
								</li>
								<li style="margin-bottom: 20px; display: flex; align-items: flex-start;">
									<i class="fa fa-qq" style="color: var(--primary-color); margin-right: 15px; font-size: 18px; margin-top: 3px;"></i>
									<div>
										<strong style="color: var(--dark-color); display: block; margin-bottom: 5px;">QQ</strong>
										<span style="color: var(--text-color); font-size: 14px;">孙梦莹：1396489424</span>
									</div>
								</li>
								<li style="margin-bottom: 20px; display: flex; align-items: flex-start;">
									<i class="fa fa-weixin" style="color: var(--primary-color); margin-right: 15px; font-size: 18px; margin-top: 3px;"></i>
									<div>
										<strong style="color: var(--dark-color); display: block; margin-bottom: 5px;">微信</strong>
										<span style="color: var(--text-color); font-size: 14px;">孙晓圆：56598874185</span>
									</div>
								</li>
								<li style="margin-bottom: 20px; display: flex; align-items: flex-start;">
									<i class="fa fa-credit-card" style="color: var(--primary-color); margin-right: 15px; font-size: 18px; margin-top: 3px;"></i>
									<div>
										<strong style="color: var(--dark-color); display: block; margin-bottom: 5px;">支付宝</strong>
										<span style="color: var(--text-color); font-size: 14px;">谢宝乐</span>
									</div>
								</li>
							</ul>
						</div>

						<div class="feature-card" style="margin-top: 30px;">
							<h3 style="margin-bottom: 25px;">支持我们</h3>
							<div style="background-color: rgba(66, 133, 244, 0.1); padding: 15px; border-radius: 8px; margin-bottom: 20px;">
								<i class="fa fa-info-circle" style="color: var(--primary-color); margin-right: 8px;"></i>
								<span style="color: var(--text-color); font-size: 14px;">您的支持是我们前进的动力，给兄弟发个红包吧！</span>
							</div>
							<div id="pay-qrcode" style="text-align: center; cursor: pointer;">
								<a href="javascript:;">
									<img th:src="@{/img/pay.png}" width="80%" alt="请使用手机支付宝或者微信扫码支付" style="border-radius: var(--border-radius); box-shadow: var(--box-shadow);">
								</a>
								<p style="margin-top: 10px; font-size: 12px; color: var(--primary-color);">点击图片放大</p>
							</div>
							<div class="progress-tech" style="margin-top: 20px;">
								<div class="progress-bar-tech" role="progressbar" aria-valuenow="65" aria-valuemin="0" aria-valuemax="100" style="width: 65%;">
								</div>
							</div>
							<p style="text-align: center; margin-top: 10px; font-size: 12px; color: var(--primary-color);">文化传承基金</p>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<footer class="main-footer">
	<div class="container">
		<div class="row">
			<div class="col-md-4">
				<div class="footer-links">
					<h4>关于我们</h4>
					<p style="color: #bdc1c6; font-size: 14px; line-height: 1.6;">光宗耀祖是一个致力于传承中华文化、弘扬兄弟情谊的平台。我们希望通过这个平台，让更多人了解和热爱中国传统文化。</p>
				</div>
			</div>
			<div class="col-md-4">
				<div class="footer-links">
					<h4>快速链接</h4>
					<ul class="list-unstyled">
						<li><a href="#">首页</a></li>
						<li><a href="#">文化传承</a></li>
						<li><a href="#">兄弟情谊</a></li>
						<li><a href="#">联系我们</a></li>
					</ul>
				</div>
			</div>
			<div class="col-md-4">
				<div class="footer-links">
					<h4>联系方式</h4>
					<ul class="list-unstyled">
						<li><i class="fa fa-map-marker" style="margin-right: 10px;"></i> 中国北京市海淀区</li>
						<li><i class="fa fa-phone" style="margin-right: 10px;"></i> (86) 138-0013-8000</li>
						<li><i class="fa fa-envelope" style="margin-right: 10px;"></i> contact@gzyz.com</li>
					</ul>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12 text-center" style="margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1);">
				<p style="margin-bottom: 0; color: #bdc1c6; font-size: 13px;">&copy; 2023 光宗耀祖文化传承平台. 保留所有权利.</p>
			</div>
		</div>
	</div>
</footer>

<a href="#" class="back-to-top" id="back-to-top">
	<i class="fa fa-arrow-up"></i>
</a>

<script th:src="@{/js/jquery.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/ajax/libs/layer/layer.min.js}"></script>
<script>
	// 创建悬浮粒子
    function createParticles() {
        const particlesContainer = document.getElementById('particles');
        const particleCount = 30;

        for (let i = 0; i < particleCount; i++) {
            const particle = document.createElement('div');
            particle.className = 'particle';

            // 随机大小
            const size = Math.random() * 6 + 2;

            // 随机位置
            const left = Math.random() * 100;
            const top = Math.random() * 100;

            // 随机透明度
            const opacity = Math.random() * 0.5 + 0.1;

            // 随机动画
            const duration = Math.random() * 20 + 10;
            const delay = Math.random() * 5;

            particle.style.width = `${size}px`;
            particle.style.height = `${size}px`;
            particle.style.left = `${left}%`;
            particle.style.top = `${top}%`;
            particle.style.opacity = opacity;
            particle.style.animation = `float ${duration}s ease-in-out ${delay}s infinite`;

            particlesContainer.appendChild(particle);
        }

        // 添加浮动动画
        const style = document.createElement('style');
        style.innerHTML = `
            @keyframes float {
                0%, 100% {
                    transform: translate(0, 0);
                }
                25% {
                    transform: translate(10px, 10px);
                }
                50% {
                    transform: translate(5px, -5px);
                }
                75% {
                    transform: translate(-5px, 5px);
                }
            }
        `;
        document.head.appendChild(style);
    }

    // 二维码点击放大
    $('#pay-qrcode').click(function(){
        var html = $(this).html();
        parent.layer.open({
            title: false,
            type: 1,
            closeBtn: false,
            shadeClose: true,
            area: ['600px', '360px'],
            content: html
        });
    });

    // 返回顶部按钮
    $(window).scroll(function() {
        if ($(this).scrollTop() > 200) {
            $('#back-to-top').addClass('active');
        } else {
            $('#back-to-top').removeClass('active');
        }
    });

    $('#back-to-top').click(function(e) {
        e.preventDefault();
        $('html, body').animate({scrollTop: 0}, 'slow');
        return false;
    });

    // 页面加载完成后执行
    $(document).ready(function() {
        createParticles();

        // 为所有链接添加平滑滚动
        $('a[href^="#"]').on('click', function(event) {
            event.preventDefault();
            $('html, body').animate({
                scrollTop: $($.attr(this, 'href')).offset().top
            }, 500);
        });
    });
</script>
</body>
</html>